3.2.14 \(\int \frac {a+b x^2}{(-a+b x^2)^2} \, dx\) [114]

Optimal. Leaf size=12 \[ \frac {x}{a-b x^2} \]

[Out]

x/(-b*x^2+a)

________________________________________________________________________________________

Rubi [A]
time = 0.00, antiderivative size = 12, normalized size of antiderivative = 1.00, number of steps used = 1, number of rules used = 1, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.053, Rules used = {391} \begin {gather*} \frac {x}{a-b x^2} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(a + b*x^2)/(-a + b*x^2)^2,x]

[Out]

x/(a - b*x^2)

Rule 391

Int[((a_) + (b_.)*(x_)^(n_))^(p_.)*((c_) + (d_.)*(x_)^(n_)), x_Symbol] :> Simp[c*x*((a + b*x^n)^(p + 1)/a), x]
 /; FreeQ[{a, b, c, d, n, p}, x] && NeQ[b*c - a*d, 0] && EqQ[a*d - b*c*(n*(p + 1) + 1), 0]

Rubi steps

\begin {align*} \int \frac {a+b x^2}{\left (-a+b x^2\right )^2} \, dx &=\frac {x}{a-b x^2}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.01, size = 14, normalized size = 1.17 \begin {gather*} -\frac {x}{-a+b x^2} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(a + b*x^2)/(-a + b*x^2)^2,x]

[Out]

-(x/(-a + b*x^2))

________________________________________________________________________________________

Maple [A]
time = 0.06, size = 13, normalized size = 1.08

method result size
gosper \(\frac {x}{-b \,x^{2}+a}\) \(13\)
default \(\frac {x}{-b \,x^{2}+a}\) \(13\)
norman \(\frac {x}{-b \,x^{2}+a}\) \(13\)
risch \(\frac {x}{-b \,x^{2}+a}\) \(13\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((b*x^2+a)/(b*x^2-a)^2,x,method=_RETURNVERBOSE)

[Out]

x/(-b*x^2+a)

________________________________________________________________________________________

Maxima [A]
time = 0.28, size = 14, normalized size = 1.17 \begin {gather*} -\frac {x}{b x^{2} - a} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x^2+a)/(b*x^2-a)^2,x, algorithm="maxima")

[Out]

-x/(b*x^2 - a)

________________________________________________________________________________________

Fricas [A]
time = 1.12, size = 14, normalized size = 1.17 \begin {gather*} -\frac {x}{b x^{2} - a} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x^2+a)/(b*x^2-a)^2,x, algorithm="fricas")

[Out]

-x/(b*x^2 - a)

________________________________________________________________________________________

Sympy [A]
time = 0.08, size = 8, normalized size = 0.67 \begin {gather*} - \frac {x}{- a + b x^{2}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x**2+a)/(b*x**2-a)**2,x)

[Out]

-x/(-a + b*x**2)

________________________________________________________________________________________

Giac [A]
time = 1.18, size = 14, normalized size = 1.17 \begin {gather*} -\frac {x}{b x^{2} - a} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x^2+a)/(b*x^2-a)^2,x, algorithm="giac")

[Out]

-x/(b*x^2 - a)

________________________________________________________________________________________

Mupad [B]
time = 0.02, size = 12, normalized size = 1.00 \begin {gather*} \frac {x}{a-b\,x^2} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a + b*x^2)/(a - b*x^2)^2,x)

[Out]

x/(a - b*x^2)

________________________________________________________________________________________